```
Retail/Client/Client_ColorSetCreator (v2).zip
client.cs:function ColorSetCreator::RGBToHex(%val)
client.cs:		ColorSetCreator_SetHexValue_R.setText(ColorSetCreator::RGBToHex(ColorSetCreator_ColEditRSlider.getValue()));
client.cs:		ColorSetCreator_SetHexValue_G.setText(ColorSetCreator::RGBToHex(ColorSetCreator_ColEditGSlider.getValue()));
client.cs:		ColorSetCreator_SetHexValue_B.setText(ColorSetCreator::RGBToHex(ColorSetCreator_ColEditBSlider.getValue()));
client.cs:		ColorSetCreator_SetHexValue_A.setText(ColorSetCreator::RGBToHex(ColorSetCreator_ColEditASlider.getValue()));

Retail/Client/Client_CustomChat (v0.3.1-1).zip
client.cs:		%r = parent::addLine(%this, %pre @ %time @ "<color:" @ CC_RGBToHex($Pref::Client::CustomChat::Color0) @ ">" @ %msg, %a, %b, %c);
gui.cs:		$Pref::Client::CustomChat::RandomNameColor[%i] = CC_RGBToHex(getWords(%obj.mColor, 0, 2));
gui.cs:	$Pref::Client::CustomChat::ShadowColor = CC_RGBToHex(CC_ShadowColorBox.mColor);
gui.cs:	$Pref::Client::CustomChat::NameColor = CC_RGBToHex(getWords(CC_NameColorBox.mColor, 0, 2));
gui.cs:	$Pref::Client::CustomChat::SelfNameColor = CC_RGBToHex(getWords(CC_SelfNameColorBox.mColor, 0, 2));
gui.cs:	$Pref::Client::CustomChat::ClanTagsColor = CC_RGBToHex(getWords(CC_ClanTagColorBox.mColor, 0, 2));
gui.cs:	$Pref::Client::CustomChat::MessageColor = CC_RGBToHex(getWords(CC_MessageColorBox.mColor, 0, 2));
gui.cs:	$Pref::Client::CustomChat::SelfMsgColor = CC_RGBToHex(getWords(CC_SelfMessageColorBox.mColor, 0, 2));
gui.cs:	$Pref::Client::CustomChat::TimestampColor = CC_RGBToHex(getWords(CC_TimestampColorBox.mColor, 0, 2));
gui.cs:		CustomChatColorChooserHex.setText("<font:Arial Bold:14><color:ffffff><just:center>#" @ strUpr(CC_RGBToHex(%value)));
gui.cs:			%value = CC_RGBToHex(%value);
gui.cs:			%value = CC_RGBToHex(%red SPC %green SPC %blue);
support.cs:// http://pecon.us/wiki/BlockDoc/index.php?title=RGBToHex as of Jan. 24th, 2016
support.cs:function CC_RGBToHex(%rgb) {

Retail/Client/Client_CustomChat.zip
client.cs:		%r = parent::addLine(%this, %pre @ %time @ "<color:" @ CC_RGBToHex($Pref::Client::CustomChat::Color0) @ ">" @ %msg, %a, %b, %c);
gui.cs:		$Pref::Client::CustomChat::RandomNameColor[%i] = CC_RGBToHex(getWords(%obj.mColor, 0, 2));
gui.cs:	$Pref::Client::CustomChat::ShadowColor = CC_RGBToHex(CC_ShadowColorBox.mColor);
gui.cs:	$Pref::Client::CustomChat::NameColor = CC_RGBToHex(getWords(CC_NameColorBox.mColor, 0, 2));
gui.cs:	$Pref::Client::CustomChat::SelfNameColor = CC_RGBToHex(getWords(CC_SelfNameColorBox.mColor, 0, 2));
gui.cs:	$Pref::Client::CustomChat::ClanTagsColor = CC_RGBToHex(getWords(CC_ClanTagColorBox.mColor, 0, 2));
gui.cs:	$Pref::Client::CustomChat::MessageColor = CC_RGBToHex(getWords(CC_MessageColorBox.mColor, 0, 2));
gui.cs:	$Pref::Client::CustomChat::SelfMsgColor = CC_RGBToHex(getWords(CC_SelfMessageColorBox.mColor, 0, 2));
gui.cs:	$Pref::Client::CustomChat::TimestampColor = CC_RGBToHex(getWords(CC_TimestampColorBox.mColor, 0, 2));
gui.cs:		CustomChatColorChooserHex.setText("<font:Arial Bold:14><color:ffffff><just:center>#" @ strUpr(CC_RGBToHex(%value)));
gui.cs:			%value = CC_RGBToHex(%value);
gui.cs:			%value = CC_RGBToHex(%red SPC %green SPC %blue);
support.cs:// http://pecon.us/wiki/BlockDoc/index.php?title=RGBToHex as of Jan. 24th, 2016
support.cs:function CC_RGBToHex(%rgb) {

Retail/Client/Client_HexGUI.zip
client.cs:function convertRGBtoHex(%str)
client.cs:	HexCodeBox.setValue(convertRGBToHex(%r SPC %g SPC %b));

Retail/Client/Client_RPG.zip
Support/support.cs:function KrgbToHex(%rgb)
ability.cs:	%slotColor[1] = "<color:" @ KRGBToHex(getRankColor($KRPG::Abilities::Rank[%ab])) @ ">";
ability.cs:	%slotColor[2] = "<color:" @ KRGBToHex($KRPG::Abilities::Color[%ab]) @ ">";

Retail/Client/Client_Scratch.zip
client.cs:function rgbToHex(%r, %g, %b) {

Retail/Client/Client_Slayer.zip
client/Support/Support_TMLParser.cs:		%obj.TML_fontColor = rgbToHex(%obj.profile.fontColor);
client/Support/Support_TMLParser.cs:function rgbToHex(%rgb)
common/support/Support.cs:function Slayer_Support::RgbToHex(%rgb)

Retail/Event/Event_AddRandomItem.zip
server.cs:		%client.addRandomItem_msg = %client.addRandomItem_msg @ %newLine @ "\c6+<color:" @ addRandomItem_rgbToHex(getColorIDTable(%colorID)) @ ">" @ %item.uiName SPC "\c6[<color:" @ addRandomItem_rgbToHex(getColorIDTable(%colorID)) @ ">" @ %colorCat @ "\c6," SPC $AddRandomItem::Rarity[%chosenRarity] @ "\c6]";
server.cs:	%hex = addRandomItem_rgbToHex(getColorIDTable(%client.currentColor));
server.cs:		commandToClient(%client, 'centerPrint', "\c6Press \c30\c6 - \c39\c6 to set the random item rarity for<color:" @ addRandomItem_rgbToHex(getColorIDTable(%brick.getColorID())) @ ">" SPC %brick.item.getDataBlock().uiName @ "\c6.", 0);
support.cs:function addRandomItem_rgbToHex(%rgb)

Retail/GameMode/Gamemode_Arena.zip
game.cs:function RgbToHex(%rgb)
game.cs:            %a[%i]="\c1"@$Battle::Player[%i].name@"\c3 - \c2"@(isObject($Battle::Player[%i].player)?"<color:"@RgbToHex(%o SPC 1-%o SPC 0)@">"@(1-%o)*100@"%":"Dead");

Retail/GameMode/GameMode_Bounty_Hunter.zip
Gamemode_Slayer_BountyHunter/BH.cs:	%hex = Slayer_Support::RgbToHex(%rgb);

Retail/GameMode/Gamemode_Breaker.zip
game.cs:function Breaker_RgbToHex(%rgb)
game.cs:      %text = "<font:impact:24>\c2HP: <color:"@Breaker_RgbToHex(1-%a SPC %a SPC 0)@">"@mFloor($Breaker::WallHealth)@"/"@mFloor($Breaker::MaxHealth)@"\c3 - \c2$"@(%cl.Breaker_OwnPoints?%cl.score:mFloor($Breaker::Score))@"\c4 - Buyer: \c6"@(isObject($Breaker::Buyer) ? $Breaker::Buyer.name : "N/A")@"\c3"@($Breaker::Pref::UseRating?"(\c0"@(isObject($Breaker::Buyer) ? Breaker_getRating($Breaker::Buyer.bl_id) : "N/A")@"\c3)":"")@"\c4 - Wave: \c6"@$Breaker::WaveCount @"\c3 - \c6"@%duration@"%"

Retail/GameMode/gamemode_Brickochet.zip
commands.cs://	%color = "<color:" @ RGBToHex(getColorIDTable(%this.color)) @ ">";
projectile.cs:			%color = "<color:" @ RGBToHex(getColorIDTable(%client.color)) @ ">";
server.cs:	%color = "<color:" @ RGBToHex(getColorIDTable(%this.color)) @ ">";
server.cs:		messageClient(%this,'',"<color:" @ RGBToHex(getColorIDTable(%other.color)) @ ">" @ %other.name SPC "\c6is now\c3" SPC getPositionString(%this.oldRank));
server.cs:	%shadow = "<shadow:3:3><shadowcolor:" @ RGBToHex(getColorIDTable(%this.color)) @ ">";
server.cs:	%color = "<color:" @ RGBToHex(getColorIDTable(%highest[client].color)) @ ">";
server.cs:		%color = "<color:" @ RGBToHex(getColorIDTable(%this.color)) @ ">";
server.cs:		%color = "<color:" @ RGBToHex(getColorIDTable(%this.color)) @ ">";
support.cs:function RGBToHex(%rgb) {

Retail/GameMode/Gamemode_Despair_Syndrome.zip
lib/colors.cs:function rgbToHex(%rgb)

Retail/GameMode/GameMode_EndlessMining.zip
server.cs:function convertRGBToHex(%dec)
server.cs:			%color = convertRGBtoHex(mFloor(getWord(getColorIdTable(%col.colorID),0) * 255));
server.cs:			%color = %color @ convertRGBtoHex(mFloor(getWord(getColorIdTable(%col.colorID),1) * 255));
server.cs:			%color = %color @ convertRGBtoHex(mFloor(getWord(getColorIdTable(%col.colorID),2) * 255));
server.cs:			%color = convertRGBtoHex(mFloor(getWord(getColorIdTable(%col.colorID),0) * 255));
server.cs:			%color = %color @ convertRGBtoHex(mFloor(getWord(getColorIdTable(%col.colorID),1) * 255));
server.cs:			%color = %color @ convertRGBtoHex(mFloor(getWord(getColorIdTable(%col.colorID),2) * 255));

Retail/GameMode/Gamemode_Fallingplatforms.zip
blockland-falling-platforms-master/platform_functions.cs:		//"<color:" @ rgbToHex(getColorIDTable(getWord(%colors[num],%color))) @ ">
blockland-falling-platforms-master/platform_functions.cs:		$DefaultMinigame.centerPrintGame("<color:" @ rgbToHex(getColorIDTable(getWord(%colors[num],%color))) @ "><font:Impact:36><just:left>" @ %str @ "<just:center>" @ %str @ "<just:right>" @ %str,5);
blockland-falling-platforms-master/platform_functions.cs:		$DefaultMinigame.centerPrintGame("<color:" @ rgbToHex(getColorIDTable(getWord(%colors[num],%color))) @ "><font:Impact:36><just:left>" @ %str @ "<just:center>" @ %str @ "<just:right>" @ %str @ "<br><color:ff0000><just:left>NOT<just:center>NOT<just:right>NOT",5);
blockland-falling-platforms-master/server.cs:			%col = RGBToHex(interpolateColor(%startCol, %endCol, %weight, 1));
blockland-falling-platforms-master/server.cs:			%col = RGBToHex(interpolateColor(%startCol, %endCol, %weight, 1));
blockland-falling-platforms-master/support.cs:function RGBToHex(%rgb) {
blockland-falling-platforms-master/system.cs:			$DefaultMinigame.schedule(5000,centerPrintGame,"<font:Impact:36>\c6Remember where <color:" @ rgbToHex(getColorIDTable(getWord(%colors[num],%color))) @ ">" @ getWord(%colors[names],%color) SPC "<color:ffffff>is!",10);

Retail/GameMode/Gamemode_Map_Toystore.zip
Script_PeggFootsteps/commands.cs:	%hex = rgbToHex(%color);
Script_PeggFootsteps/commands.cs:		%hex =  rgbToHex(%hitcolor);
Script_PeggFootsteps/commands.cs:	%hex = rgbToHex(%color);
Script_PeggFootsteps/PeggyFootsteps.cs:function rgbToHex(%rgb) //! Ripped from Greek2Me's SLAYER
Script_PeggFootsteps/server.cs://        		2.3.0:	Revamped custom sound functions. Instead of being stored in one large string, custom souds are in an array now. Edited 'getHex' to 'rgbToHex' to fix the occasional hex error.
Script_PeggFootsteps/server.cs://  	Thanks to Greek2Me for the 'rgbToHex' function

Retail/GameMode/GameMode_Murder_Manor.zip
scripts/game.cs:  %timer = "<color:" @ rgbToHex(vectorScale(%color, 255)) @ ">" @ getTimeString(%time);
support/misc.cs:function rgbToHex(%rgb)

Retail/GameMode/Gamemode_Pictionary (1).zip
xpm.cs:		XPMFile.writeLine(getSubStr(%chars, %i, 1) SPC "c" SPC "#" @ RGBToHex(getColorIDTable(%i)));
support.cs:function RGBToHex(%rgb) {

Retail/GameMode/Gamemode_Pictionary.zip
xpm.cs:		XPMFile.writeLine(getSubStr(%chars, %i, 1) SPC "c" SPC "#" @ RGBToHex(getColorIDTable(%i)));
support.cs:function RGBToHex(%rgb) {

Retail/GameMode/Gamemode_Slayer_BountyHunter.zip
BH.cs:	%hex = Slayer_Support::RgbToHex(%rgb);

Retail/GameMode/Gamemode_Slayer_CTF.zip
game-mode.cs:		%name = "<sPush><color:" @ Slayer_Support::RgbToHex(getColorIDTable(%color)) @ ">" @ %name @ "<sPop>";

Retail/GameMode/Gamemode_Slayer_SearchDestroy (2).zip
SD.cs:			%hex = "<color:" @ Slayer_Support::RgbToHex(%rgb) @ ">";

Retail/GameMode/Gamemode_Slayer_SearchDestroy.zip
SD.cs:			%hex = "<color:" @ Slayer_Support::RgbToHex(%rgb) @ ">";

Retail/GameMode/Gamemode_Slayer (v3.2).zip
Client/Support/Support.cs:function SlayerClient_Support::RgbToHex(%rgb)
Dependencies/Brick.cs:				%hex = "<color:" @ Slayer_Support::RgbToHex(%rgb) @ ">";
Dependencies/Teams.cs:	%this.colorHex = Slayer_Support::RgbToHex(%this.colorRGB);
Support/Support.cs:function Slayer_Support::RgbToHex(%rgb)

Retail/GameMode/Gamemode_Slayer (v3 RTB).zip
Client/Support/Support.cs:function SlayerClient_Support::RgbToHex(%rgb)
Dependencies/Brick.cs:				%hex = "<color:" @ Slayer_Support::RgbToHex(%rgb) @ ">";
Dependencies/Teams.cs:	%this.colorHex = Slayer_Support::RgbToHex(%this.colorRGB);
Support/Support.cs:function Slayer_Support::RgbToHex(%rgb)

Retail/GameMode/Gamemode_Slayer (v4.1.3).zip
client/support/Support_TMLParser.cs:		%obj.TML_fontColor = rgbToHex(%obj.profile.fontColor);
client/support/Support_TMLParser.cs:function rgbToHex(%rgb)
common/support/Support.cs:function Slayer_Support::RgbToHex(%rgb)
server/core/FxDtsBrick.cs:				%hex = "<color:" @ Slayer_Support::RgbToHex(%rgb) @ ">";
server/core/GameConnection.cs:					%color = "<color:" @ Slayer_Support::RgbToHex(getColorIDTable(%control)) @ ">";
server/core/GameConnection.cs:					%color = "<color:" @ Slayer_Support::RgbToHex(getColorIDTable(%control)) @ ">";
server/core/Slayer_TeamSO.cs:	%this.colorHex = Slayer_Support::RgbToHex(%this.colorRGB);

Retail/GameMode/Gamemode_TeamDeathmatch.zip
Support_GameModes.cs:function RGBToHEX(%col) //In the form of R G B 0-1
Support_GameModes.cs:	return "<color:" @ RGBToHEX(getColorIDTable(%mini.teamCol[%team])) @ ">" @ %mini.teamName[%team];
Support_GameModes.cs:		return "<color:" @ RGBToHEX(getColorIDTable(%client.minigame.teamCol[%client.tdmTeam])) @ ">" @ %name;
Support_GameModes.cs:			echo("HEX: " @ rgbToHEX(getColorIDTable(%mini.teamCol[%i])));
Support_GameModes.cs:	"<color:" @ RGBtoHEX(%atkCol) @ ">",
Support_GameModes.cs:	"<color:" @ RGBtoHEX(%defCol) @ ">");
Support_GameModes.cs:	"<color:" @ RGBtoHEX(%defCol) @ ">",
Support_GameModes.cs:	"<color:" @ RGBtoHEX(%atkCol) @ ">");
Support_GameModes.cs:			%col1 = "<color:" @ RGBToHEX(getColorIDTable(%mini.teamCol[%this.tdmTeam])) @ ">";
Support_GameModes.cs:			%col2 = "<color:" @ RGBToHEX(getColorIDTable(%mini.teamCol[%sourceClient.tdmTeam])) @ ">";

Retail/GameMode/GameMode_Viridian_RPG.zip
src/misc.cs:function rgbToHex(%rgb)
src/ores.cs:			%text = "<font:palatino linotype:32><color:" @ rgbToHex(getColorI(getColorIDTable(%data.color))) @ ">";

Retail/Item/item_disguiseKit.zip
kit.cs:		%color = "<color:" @ RGBToHEX(getColorIDTable(%minigame.teamCol[%i])) @ ">";

Retail/Item/Item_Powercolas.zip
server.cs:function rgbToHex(%rgb)
server.cs:				%client.bottomPrint("<color:"@rgbToHex(%this.colorShiftColor)@">"@%this.uiName@"\c6! Grants the" SPC "<color:"@rgbToHex(%this.colorShiftColor)@">"@ %this.powerTitle SPC "\c6ability for" SPC "<color:"@rgbToHex(%this.colorShiftColor)@">"@ %dur/1000 SPC "\c6Seconds!", %dur / 1000);

Retail/Script/Script_DR2_HealthBar (1).zip
server.cs:    %healthHex = rgbToHex(%healthColor);
server.cs:    %energyHex = rgbToHex(%energyColor);
server.cs:function RGBtoHex(%rgb) {

Retail/Script/Script_DR2_HealthBar.zip
server.cs:    %healthHex = rgbToHex(%healthColor);
server.cs:    %energyHex = rgbToHex(%energyColor);
server.cs:function RGBtoHex(%rgb) {

Retail/Script/Script_EmpireColors.zip
server.cs:function rgbToHex(%rgb)
server.cs:function serverCmdRGBToHex(%c,%r,%g,%b)
server.cs:		%col = rgbToHex(%r SPC %g SPC %b);
server.cs:			%colFromSetConv = rgbToHex(%colFromSet);
server.cs:		messageClient(%c,'',"If you were clearing your color, ignore this. Otherwise, use a number under 100 or a hex code for your empire color. /rgbtohex exists if you need to convert colors from RGB to hex.");
server.cs:		messageClient(%c,'',"\c6/empirecolor [hex or colorset number] :: /empirename [name] :: /rgbtohex [r] [g] [b]");

Retail/Script/Script_HealthBar_NOMANA.zip
server.cs:    %healthHex = rgbToHex(%healthColor);
server.cs:function RGBtoHex(%rgb) {

Retail/Script/Script_PeggFootsteps (v3.1.3).zip
PeggyFootsteps.cs:function rgbToHex(%rgb) //! Ripped from Greek2Me's SLAYER
commands.cs:	%hex = rgbToHex(%color);
commands.cs:		%hex =  rgbToHex(%hitcolor);
commands.cs:	%hex = rgbToHex(%color);
server.cs://        		2.3.0:	Revamped custom sound functions. Instead of being stored in one large string, custom souds are in an array now. Edited 'getHex' to 'rgbToHex' to fix the occasional hex error.
server.cs://  	Thanks to Greek2Me for the 'rgbToHex' function

Retail/Script/Script_PeggFootsteps.zip
PeggyFootsteps.cs:function rgbToHex(%rgb) //! Ripped from Greek2Me's SLAYER
commands.cs:	%hex = rgbToHex(%color);
commands.cs:		%hex =  rgbToHex(%hitcolor);
commands.cs:	%hex = rgbToHex(%color);
server.cs://        		2.3.0:	Revamped custom sound functions. Instead of being stored in one large string, custom souds are in an array now. Edited 'getHex' to 'rgbToHex' to fix the occasional hex error.
server.cs://  	Thanks to Greek2Me for the 'rgbToHex' function

Retail/Server/Server_BetterMERP.zip
server.cs://Greek2Me (Slayer) and Tezuni (Moderator) for making some of the functions I use (rgbtohex and subString respectively)
server.cs:		messageClient(%c,'',"\c3/empirecolor\c6 takes one input, the hexadecimal color or colorset number. For example, /empirecolor FA60B6. (Use /rgbtohex for rgb numbers)");
server.cs:		messageClient(%c,'',"\c3/rgbtohex\c6 takes 3 inputs, the red value, blue value, and green value. This command converts the RGB in to a usable (for \c3/empirecolor\c6) hexadecimal string!");
server.cs:	messageClient(%c,'',"\c6/mHelp misc - info on miscellaneous commands, like \c3/rolldice\c6, \c3/rgbtohex\c6, \c3/mwhisper\c6 and my favorite \c3/empirenamegen");
server.cs://The functions people care about! Except rgbtohex, nobody uses rgbtohex
server.cs:function serverCmdRGBToHex(%c,%r,%g,%b)
server.cs:			%colFromSetConv = rgbToHex(%colFromSet);
server.cs:		messageClient(%c,'',"\c6If you were clearing your color, ignore this. Otherwise, use a number under 100 or a hex code for your empire color. /rgbtohex exists if you need to convert colors from RGB to hex.");

Retail/Server/Server_Downed.zip
server.cs:function rgbToHex( %rgb )
server.cs:	centerPrint(%cl,"<br><br><br><br><br><br><font:impact:" @ %size @ "><color:" @ rgbToHex(rgbGradient(%tick/18,"1 1 1","1 0.8 0")) @ ">" @ %str @ "!",3);
server.cs:			%hex = rgbToHex(%col);

Retail/Server/Server_HealthBar.zip
server.cs:		%cl.healthCol = rgbToHex(%colRGB);
server.cs:	function rgbToHex( %rgb )

Retail/Server/Server_MERP_Commands.zip
server.cs:		%hex = rgbToHex(%colorFromSet);
server.cs:function serverCmdRGBToHex(%client, %r, %g, %b)
server.cs:	%hex = rgbToHex(%rgb);
server.cs:	%hex = rgbToHex(%colorFromSet);
server.cs:		%client.chatmessage("\c5/rgbtohex [r] [g] [b] \c6- This coverts RGB into a hex-code.");
server.cs:function rgbToHex(%rgb)

Retail/Server/Server_NewPaintCan.zip
server.cs:function NPC_rgbToHex(%rgb)
server.cs:	%selectcolortext = $Pref::Server::NewPaintCan::ColorPick ? "\c6Colorpick:<color:" @ NPC_rgbtohex(getWords(getColorIDTable(%this.NPC_pickedcolor), 0, 2)) @ ">" SPC "|||\c6 [Light]" : "";
server.cs:						messageClient(%c, 'MsgAdminForce', "\c5Picked color\c6:<color:" @ NPC_rgbtohex(getWords(getColorIDTable(%target.getColorID()), 0, 2)) @ ">" SPC getField(NPC_getColorCategory(%target.getColorID()), 0) SPC "\c6-<color:" @ NPC_rgbtohex(getWords(getColorIDTable(%target.getColorID()), 0, 2)) @ ">" SPC getField(NPC_getColorCategory(%target.getColorID()), 1));

Retail/Server/Server_Pets.zip
server.cs:		%client.chatMessage("\c6" @ %sysname SPC "\c7-" SPC "<color:" @ RGBToHex(firstWord(getField(%pet, 0)) * 255) @ RGBToHex(getWord(getField(%pet, 0), 1) * 255) @ RGBToHex(getWord(getField(%pet, 0), 2) * 255) @ ">" @ getField(%pet, 1));
server.cs:		%client.chatMessage("<color:" @ RGBToHex(firstWord(getField(%pet, 4)) * 255) @ RGBToHex(getWord(getField(%pet, 4), 1) * 255) @ RGBToHex(getWord(getField(%pet, 4), 2) * 255) @ ">" @ %sysname SPC "\c6-" SPC ($pref::server::pets::freePets ? "free!" : petBuyCost(%sysname) SPC "points"));
server.cs:function RGBToHex(%val)
server.cs:	return RGBToHex(%red) @ RGBToHex(%green) @ RGBToHex(%blue);

Retail/Server/Server_Stride.zip
lib/color.cs:function rgbToHex( %rgb )
server.cs:	messageClient(%this, '', '\c7You have assigned the material \c6%1 \c7to paint color <color:%2>%3\c7, with footprints \c6%4\c7.', StripMLControlChars(%material), rgbToHex(getColorIDTable(%color)), %color, %hasFootprints ? "Enabled" : "Disabled");

Retail/Support/Support_Updater (v0.12.1).zip
common/support/Support_TMLParser.cs:		%obj.TML_fontColor = rgbToHex(%obj.profile.fontColor);
common/support/Support_TMLParser.cs:function rgbToHex(%rgb)

Retail/Support/Support_Updater.zip
common/support/Support_TMLParser.cs:		%obj.TML_fontColor = rgbToHex(%obj.profile.fontColor);
common/support/Support_TMLParser.cs:function rgbToHex(%rgb)

Retail/System/System_BlocklandGlass (v4.2.6).zip
resources/Support_Preferences/server/interaction.cs:				%displayValue = "<color:" @ rgbToHex(%newValue) @ ">COLOR";
resources/Support_Updater/common/support/Support_TMLParser.cs:		%obj.TML_fontColor = rgbToHex(%obj.profile.fontColor);
resources/Support_Updater/common/support/Support_TMLParser.cs:function rgbToHex(%rgb)

Retail/System/System_BlocklandGlass.zip
resources/Support_Preferences/server/interaction.cs:				%displayValue = "<color:" @ rgbToHex(%newValue) @ ">COLOR";
resources/Support_Updater/common/support/Support_TMLParser.cs:		%obj.TML_fontColor = rgbToHex(%obj.profile.fontColor);
resources/Support_Updater/common/support/Support_TMLParser.cs:function rgbToHex(%rgb)

Retail/System/System_Instruments.zip
common/lib/color.cs:function __rgbToHex( %rgb )

Retail/System/System_ZeigHUD.zip
client.cs:	%color = rgbToHex( %color );
client.cs:	%color = rgbToHex( zeigHUD.hc_default );
client.cs:	%color = rgbToHex( zeigHUD.hc_default );
client.cs.backup:function rgbToHex( %rgb )
client.cs.backup:	%healhx = rgbToHex( %health );
support.cs:function rgbToHex( %rgb )

Retail/Tool/Tool_DisguiseKit.zip
kit.cs:			%c = "<color:" @ Slayer_Support::RGBToHEX(getColorIDTable(%minigame.teamCol[%i])) @ ">";
kit.cs:				%c = "<color:" @ Slayer_Support::RGBToHEX(getColorIDTable(%minigame.teamCol[%i])) @ ">";
kit.cs:		messageClient(%client, '',"<color:" @ Slayer_Support::RGBToHEX(getColorIDTable(%minigame.teamCol[%team])) @ ">" @ "0. Undisguise");

Retail/Vehicle/Vehicle_Abrams (2).zip
Vehicle_Abrams.cs:function rgbToHex( %rgb )
Vehicle_Abrams.cs:						%color = "<color:" @ rgbToHex(mClamp(mAbs(%turretIdealAzimuth/%colorRatio -%angles[%a]/%colorRatio ) * 255 * 2,0,255) SPC mClamp(mAbs(%turretIdealAzimuth/%colorRatio -%angles[%a]/%colorRatio ) * 255 * -2 + 255,0,255) SPC 0) @ ">";

Retail/Vehicle/Vehicle_MLRS.zip
Vehicle_MLRS.cs:function rgbToHex( %rgb )

Retail/Vehicle/Vehicle_RCBiplane.zip
Tool_RC.cs:	%hex = rgbToHex(greenToRed(%amount));
Tool_RC.cs:function rgbToHex( %rgb )

Retail/Vehicle/Vehicle_Seawolf.zip
Vehicle_Seawolf.cs:		%batteryColor = "<color:" @ rgbToHex(mClamp(mAbs((%obj.uav.battery - 100)/%batteryColorRatio ) * 255 * 2,0,255) SPC mClamp(mAbs((%obj.uav.battery - 100)/%batteryColorRatio ) * 255 * -2 + 255,0,255) SPC 0) @ ">";
Vehicle_Seawolf.cs:		%signalColor = "<color:" @ rgbToHex(mClamp(mAbs((%obj.uav.signalStrength - 100)/%signalColorRatio ) * 255 * 2,0,255) SPC mClamp(mAbs((%obj.uav.signalStrength - 100)/%signalColorRatio ) * 255 * -2 + 255,0,255) SPC 0) @ ">";
Vehicle_Seawolf.cs:function rgbToHex( %rgb )

Retail/Weapon/Weapon_Dueling_Ranged.zip
bowUtils.cs:	%color = "<color:" @ rgbToHex(%r SPC %g SPC 0) @ ">";
bowUtils.cs:function rgbToHex( %rgb )

Retail/Weapon/Weapon_Package_STraps.zip
server.cs:	%hex = rgbToHex(%col);
server.cs:function rgbToHex( %rgb )

Retail/Weapon/Weapon_SWeps.zip
supp.cs:function rgbToHex(%rgb)

Retail/Weapon/Weapon_Tricorder.zip
server.cs:function RGBToHex(%val)
server.cs:	return RGBToHex(%red) @ RGBToHex(%green) @ RGBToHex(%blue);
```
